// 扫码移交功能
export interface searchWorkerCodeParams {
  smPerson: string;
}
export interface searchBarCodeParams {
  barCode: string;
}

// 扫物料功能
export interface changeAccTypeParams {
  barcode: string;
  barcodeType: string;
  bzjCodeType: string;
  funcType: string;
  userCode: string;
}

// 扫码退回功能
export interface changeReturnTypeParams {
  barcode: string;
  barcodeType: string;
  bzjCodeType: string;
  returnReason: string;
  userCode: string;
}
// 零件接收-输入操作码后更改状态
export interface partWorkbinOutStoreroomParams {
  data: string[];
  receiveEmpCode: string;
}

// 成品/标间接收-输入操作码后更改状态
export interface finWorkbinOutStoreroomParams {
  data: string[];
  receiveEmpCode: string;
  barcode: string;
}

// 标件接收-输入操作码后更改状态
export interface newFinWorkbinOutStoreroomParams {
  data: newFinWorkbinOutStoreroomParamsData[];
}
export interface newFinWorkbinOutStoreroomParamsData {
  itemCode: string;
  deliveryQty: string;
  barcode: string;
  aoNo: string;
  ckBarcode: string;
  wmsDeliveryPlanId: string;
}

// 扫码零件/成品接收
export interface searchByBarcodeParams {
  barCode: string;
  sendType?: string;
  pageParameter: {
    page: number;
    rows: number;
  };
}

// 退库接收
export interface searchByBackParams {
  barcode: string;
  pageParameter: {
    page: number;
    rows: number;
  };
}

// 退库接收-输入操作码后更改状态
export interface workbinOutStoreroomParams {
  data: string[];
  itemCode: string;
  returnQty: string;
  status: string;
  wmsDeliveryPlanId: string;
  barcode: string;
}

// 扫码标件接收
export interface searchBZJCodeParams {
  barCode: string;
  sendType: string;
  bzjCodeType: string;
  pageParameter: {
    page: number;
    rows: number;
  };
}
// 扫码移交搜索
export interface scanningHandoverParams {
  searchParams: {
    receiveEmpCode: string;
    qualityCode: string;
    itemCode: string;
    barcode: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
  startTime: string;
  endTime: string;
  funcType: string;
}

// 协调单查询
export interface searchWmsDelCoParams {
  searchParams: {
    barcode: string;
    applyEmpcode: string;
    status: string;
    isEff: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
  startTime: string;
  endTime: string;
  funcType: string;
}

// 协调单提交
export interface updateWmsDeliveryCoParams {
  applyEmpcode: string;
  ip: string;
  deliveryCoordinates: any[];
}

// 协调单删除
export interface deletDtoParams {
  applyEmpcode: string;
  data: any[];
}
// 新增协调单弹框查询
export interface searchDeliverPlanParams {
  searchParams: {
    barcode: string;
    productCode: string;
    batchNo: string;
    itemCode: string;
    qualityCode: string;
    deliveryEmpCode: string;
    startTime: string;
    endTime: string;
    mProductNumber: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
}
// 新增协调单
export interface insertDtoParams {
  wmsDeliveryPlans: any[];
  problemType: string;
  problemContent: string;
  applyEmpcode: string;
}

// 扫码退回查询
export interface searchByOutParams {
  searchParams: {
    receiveEmpCode: string;
    qualityCode: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
  startTime: string;
  endTime: string;
  drawNo: string;
  funcType: string;
}

// 零件、产品接收查询
export interface searchByPageParams {
  searchParams: {
    itemCode: string;
    qualityCode: string;
    mProductNumber: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
  funcType: string;
}

// 标准件接收查询
export interface searchPlanByItemTypeZParams {
  currentPage: number;
  pageSize: number;
}

// 零件、产品录入备注
export interface saveRemarkParams {
  remark: string;
  dliverys: string[];
}

// 退库接收查询
export interface searchMaterialParams {
  searchParams: {
    qualityCode: string;
    aoNo: string;
    barcode: string;
    itemCode: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
}

// 退库接收查询
export interface searchParamsByBarcodeParams {
  searchParams: {
    qualityCode: string;
    deliveryEmpCode: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
  startTime: string;
  endTime: string;
  drawNo: string;
}

// 零件退货查询
export interface searchParamsByReturnParams {
  searchParams: {
    itemCode: string;
    productCode: string;
    batchNo: string;
    startLotNo: string;
    endLotNo: string;
    qualityCode: string;
    returnStatus: string;
    applyEmpCode: string;
    startTime: string;
    endTime: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
}

// 零件所在单位发起—查询
export interface searchParamsByDeliveryParams {
  searchParams: {
    productCode: string;
    batchNo: string;
    startLotNo: string;
    endLotNo: string;
    itemCode: string;
    qualityCode: string;
    deliveryStatus: string;
    deliveryType: string;
    deliveryPlanCode: string;
    wmsDeliveryPlanId: string;
    deliveryOrgCode: string;
    receiveOrgCode: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
}

// 零件所在单位发起—新增
export interface creatReturnSalesParams {
  account: string;
  empinfoid: string;
  text: string;
  departid: string;
  itemCode: string;
  wmsDeliveryPlanId: string;
  returnType: string;
  returnQty: string;
  accordingNo: string;
  failureDesc: string;
  appearanceStatus: string;
  equipStatus: string;
  maxStorageDate: string;
  sealDate: string;
  remark: string;
  ynWorkLineFlag: string;
}

// 标准件所在单位发起—新增
export interface standardReturnSaveParams {
  account: string;
  empinfoid: string;
  text: string;
  departid: string;
  itemCode: string;
  wmsDeliveryPlanId: string;
  returnType: string;
  returnQty: string;
  accordingNo: string;
  failureDesc: string;
  appearanceStatus: string;
  equipStatus: string;
  maxStorageDate: string;
  sealDate: string;
  remark: string;
  ynWorkLineFlag: string;
  returnListForm: any[];
  prOrderMidTable: any[];
}

// 零件退库提交
export interface submitReturnSalesParams {
  data: any[];
}

// 零件退库修改
export interface updateReturnSalesParams {
  returnStatus: string;
  wmsReturnApplyId: string;
  returnType: string;
  returnQty: string;
  accordingNo: string;
  appearanceStatus: string;
  equipStatus: string;
  remark: string;
  ynWorkLineFlag: string;
  failureDesc: string;
}

// 标准件退货查询
export interface standardReturnQueryParams {
  searchParams: {
    aoNo: string;
    deliveryPlanCode: string;
    productCode: string;
    itemCode: string;
    batchNo: string;
    startLotNo: string;
    endLotNo: string;
    qualityCode: string;
    returnStatus: string;
    applyEmpCode: string;
    startTime: string;
    endTime: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
}

// 标准件所在单位发起—查询
export interface selectDeliverPlanStandardParams {
  searchParams: {
    aoNo: string;
    productCode: string;
    batchNo: string;
    startLotNo: string;
    endLotNo: string;
    itemCode: string;
    qualityCode: string;
    deliveryStatus: string;
    deliveryType: string;
    deliveryPlanCode: string;
    deliveryOrgCode: string;
    receiveOrgCode: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
}

// 已叫料箱查询
export interface searchDeliveryReceivedParams {
  searchParams: {
    mProductNumber: string;
    itemCode: string;
    qualityCode: string;
    barcode: string;
  };
  pageParameter: {
    rows: number;
    page: number;
  };
}

// 已叫料箱查看缓存料箱
export interface searchReceDetailParams {
  deliveryQty: number;
  PAGEHELPER_ROW_ID: number;
  bePutIntoQty: number;
  startLotNo: number;
  wmsDeliveryPlanId: string;
  qualityCode: string;
  itemCode: string;
  consoleName: string;
  receiveDate: string;
  mProductNumber: string;
  barcode: string;
  workbinCode: string;
}

// 回退交接单
export interface backDeliverysParams {
  deliveryQty: number;
}

// 回退交接单
export interface updateRepairParams {
  workbinCode: string;
}

// 缓存箱扫码
export interface searchAwaitStorageParams {
  workbinCode: string;
}

// 缓存箱扫码
export interface PWacdfimnoorrssParams {
  passWord: string;
}
// 零件退货---缓存箱扫码接口
export interface prtFrtHcxScanParams {
  workbinCode: string;
  wmsDeliveryPlanId: string;
}

export interface prMaterialOutParams {
  data: string[];
}
